<%@ page language="java" import="java.util.*" pageEncoding="utf-8" contentType="text/html;charset=utf-8"%>
<%request.setCharacterEncoding("utf-8"); %>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld"%>
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Shop 管理中心 - 订单详细信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<c:url value='/Admin/styles/general.css' />" rel="stylesheet" type="text/css" />
	<link href="<c:url value='/Admin/styles/main.css' />" rel="stylesheet" type="text/css" />

  </head>
  
  <body>
    <h1>
			<span><a href="Admin_Main.jsp">Shop 订单管理</a> - 订单详细信息页 </span>
		</h1>
		<div class="main-div1">
			<table width="100%" class="btable">
				<tr>
					<td>
						<table border="0" align="center" cellpadding="0" cellspacing="0" class="orderitemtable">
							<tr>
								<th>
									所属用户：
								</th>
								<td>
									${orderBean.scuser}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									真实姓名：
								</th>
								<td>
									${orderBean.ssname}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									邮政编码：
								</th>
								<td>
									${orderBean.sscode}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									电子邮箱：
								</th>
								<td>
									${orderBean.ssemail}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									电话号码：
								</th>
								<td>
									${orderBean.ssphone}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									联系地址：
								</th>
								<td>
									${orderBean.ssaddress}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									下单时间：
								</th>
								<td>
									${orderBean.dgdate}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									发货方式：
								</th>
								<td>
									${orderBean.ssendtype}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									付款方式：
								</th>
								<td>
									${orderBean.spaytype}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									审核情况：
								</th>
								<td style="color:red;">
									${orderBean.sstatus}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									审核人：
								</th>
								<td>
									${orderBean.sauser}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									审核时间：
								</th>
								<td>
									${orderBean.dadate}&nbsp;
								</td>
							</tr>
							<tr>
								<th>
									反馈信息：
								</th>
								<td>
									${orderBean.smsg}&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<div class="list-div" id="listDiv">
		<table cellpadding="0" cellspacing="1">
		  <tr>
			<th>商品图片</th>
			<th>商品编号</th>
			<th>商品名称</th>
			<th>商品单价</th>
			<th>商品数量</th>
		  </tr>
		<c:forEach var="orderItemBean" items="${orderItemList}">
		  <tr>
			<td align="center">
			<img src="<c:url value='/mcimg/${orderItemBean.simg}' />" class="cimg" />&nbsp;
			</td>
			<td align="center">
			${orderItemBean.nmcid}&nbsp;
			</td>
			<td align="center">
			${orderItemBean.smcname}&nbsp;
			</td>
			<td align="center" style="color:red;">
			￥${orderItemBean.nprice}&nbsp;
			</td>
			<td align="center">
			${orderItemBean.ncount}&nbsp;
			</td>
		  </tr>
		</c:forEach>
		  <tr>
			<td colspan="5" style="color:red;" align="right">合计：￥${orderBean.ntotalprice}&nbsp;</td>
		  </tr>
		  <tr>
			<td colspan="5" align="center" style="border:0px;padding-top:5px;"><input type="button" onclick="javasctipr:history.back();" value="返回上一页" /></td>
		  </tr>
		</table>
		</div>
		<div id="footer">
			版权所有 &copy;
		</div>
  </body>
</html>
